projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d528f05
)
babl: make malloc implementation stability sanity check non-fatal
author
Øyvind Kolås
<pippin@gimp.org>
Wed, 2 Jul 2014 04:20:13 +0000
(06:20 +0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Wed, 2 Jul 2014 04:20:13 +0000
(06:20 +0200)
babl/babl-memory.c
patch
|
blob
|
history
diff --git
a/babl/babl-memory.c
b/babl/babl-memory.c
index 6ceca90e664526bfb5a4ad3bda65dcb794466025..ff171d7ff83df871092f8208c3412eb421c0973a 100644
(file)
--- a/
babl/babl-memory.c
+++ b/
babl/babl-memory.c
@@
-91,7
+91,9
@@
functions_sanity (void)
}
else
{
- babl_fatal ("babl memory function(s) attempted switched on the fly");
+ fprintf (stderr, "HMM....\nSomething strange is happening,\n%s function pointer changing between invocations in babl.\n",
+ first_malloc_used == malloc_f ?
+ first_free_used == free_f ? "malloc and free" : "malloc" : "free");
}
}
}